package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Menu;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IMenuService {

    void deleteByPrimaryKey(Long id);

    Menu selectByPrimaryKey(Long id);

    List<Menu> selectAll();

    void saveOrUpdate(Menu entity);

    List<Menu> selectByParentSn(String sn);

    PageResult query(QueryObject qo);
}
